package com.dao.primary.owner;
import com.model.domain.owner.GetOwnerInfoDO;
import com.model.pojo.owner.OwnerInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OwnerInfoMapper {
    int deleteByPrimaryKey(@Param("ownerInfoId") Long ownerInfoId);

    int insert(OwnerInfo record);

    int insertSelective(OwnerInfo record);

    OwnerInfo selectByPrimaryKey(@Param("ownerInfoId") Long ownerInfoId, @Param("isDelete") Byte isDelete);
    OwnerInfo selectByDealerAndOwner(@Param("dealerUserId") Long dealerUserId,@Param("ownerUserId") Long ownerUserId);
    int updateByPrimaryKeySelective(OwnerInfo record);

    int updateByPrimaryKey(OwnerInfo record);

    List<OwnerInfo> selectList(GetOwnerInfoDO getownerInfoDO);

    void insertListSelective(List<OwnerInfo> ownerInfoList);

    void updateListSelective(List<OwnerInfo> ownerInfoList);

    int has(@Param("ownerInfoId") Long ownerInfoId, @Param("isDelete") Byte isDelete);
}